


  //添加
  add_page: {
    // isGenerate: "false", //false表示不生成页面
    add_page_name: "add_course_sort",  //页面名字，用来区分不同添加页面，默认为add_page，尽量短些,要拼接路由
    tipsText: "会员管理 >> xx", //顶部提示
    formData: {
      // titleText: "请填写管理员相关信息",
      //输入
      input1: {
        labelName: '注册手机号',
        inputName: 'tel',
        isNeed: 'true',
      },
      //选择
      select1: {
        labelName: '性别',
        inputName: 'sex',  //输入绑定的变量
        selectOptsName: "sexOpts",
        selectOptsArr: `[
            { value: "M", label: "男" },
            { value: "F", label: "女" },
            { value: "", label: "全部"},
          ],
          `, //选项数组
        isNeed: 'true',
      },
      //图片上传
      uploadImg1: {
        labelName: "轮播图上传",
        inputName: "testImgStr",
        type: "many", //type: "single"
        countLimit: "1",
        uploadMethod: "handleUploadBanner",
        isNeed: 'true',
      },
      //多行文本
      textarea1: {
        labelName: '课程简介',
        inputName: 'tel',
        isNeed: 'true',
        rows: "5",
        width: "360", //自动补全px
        isNeed: 'true',
      },
      //单选
      radio1: {
        labelName: '课程类型',
        inputName: 'courseState',
        radioOpts: [
          { value: "1", label: "图文" },
          { value: "2", label: "视频" },
        ], //这是个同select结构的枚举,但为对象格式
        isNeed: 'true',
        radioWidth: '60px',
        // defaultValue: "", //初始默认值
      },
      //富文本 （在修改回调内可添加固定样式）
      richText1: {
        labelName: '课程内容(图文)',
        inputName: 'richTextCourse',
        isNeed: 'true',
        minHeight: "180", //高度
        uploadApi: "API.common.upload",
        editContentChangeMethodName: "handleBgEditChange", //改变方法
        isNeed: 'true',
      },
    },
    addBtn: {
      text: '添加',
      url: "API.member_manager.add"
    }, //
    editBtn: {
      text: '编辑',
      detailUrl: "API.member_manager.detail",
      editUrl: "API.member_manager.edit",
      jump: '/member_page_page'
    },
    cancelBtn: { text: "取消" }, //
  },